<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta charset="utf-8">
<title>个人资料</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
 <link rel="stylesheet" href="../../../res/css/layui.css"  media="all">
<script type="text/javascript" src="../../../res/js/jquery-1.11.2.min.js"></script>
 <style type="text/css">
	    .aru{
	 		width:40%;
	 		margin: 0 auto;
	 		margin-left:20px;
	 		margin-top: 20px;
	 	}
    </style>
</head>
<body>
	<form id="myform" class="layui-form" method="post"action="../../../role/addorUpdate.action" style="margin-top: 10px;" enctype="multipart/form-data">
		<input type="hidden" name="userId" id="userId"/>
		 <div class="aru">
				 <label class="layui-form-label">用户头像:</label>
				 <input type="button" class="layui-btn" id="userImage" lay-verify="userImage" name="file" value="上传图片">
				 <span id="FileName"></span>
				 <img class="layui-upload-img"  id="photo" style="width:60px;height:60px;margin-left:8px; ">
		 </div>
		  
		  <div class="aru">
		    <label class="layui-form-label">用户姓名:</label>
		    <div class="layui-input-block">
		     <input name="userName" id="userName" class="layui-input" type="text" placeholder="请输入用户名" >
		    </div>
		  </div>
		  
		  <div class="aru">
		    <label class="layui-form-label">用户密码:</label>
		    <div class="layui-input-block">
		     <input name="userPwd" id="userPwd" class="layui-input" type="text"  placeholder="请输入用户密码">
		    </div>
		  </div>
		  
		  <div class="aru">
		    <label class="layui-form-label">用户电话:</label>
		    <div class="layui-input-block">
		     <input name="userPhone" id="userPhone" class="layui-input" type="text"  placeholder="请输入用户电话">
		    </div>	
		  </div>
		  
		 <div class="aru">
		    <label class="layui-form-label">用户邮箱:</label>
		    <div class="layui-input-block">
		     <input name="userEmail" id="userEmail" class="layui-input" type="text" placeholder="请输入用户邮箱" >
		    </div>
		 </div>
		  
		<div class="aru" id="buttn">
			<div class="layui-input-block">
				<input type="button" class="layui-btn" id="sub" value="确认提交" /> 
			</div>
		</div>
	</form>
<script src="../../../res/layui.all.js" charset="utf-8"></script>
<script type="text/javascript" src="info.js"></script>
</body>
</html>